package com.bocloud.cmp.driver.providers.jd;

import com.jcloud.jss.Credential;

/**
 * 京东云认证信息
 * 
 * @author dmw
 *
 */
public class JdCredential {

	private Credential jssCredential;// 云存储认证信息
	private com.jcloud.cap.client.auth.Credential capCredential;// 云主机等认证信息

	/**
	 * @return the jssCredential
	 */
	public Credential getJssCredential() {
		return jssCredential;
	}

	/**
	 * @return the capCcredential
	 */
	public com.jcloud.cap.client.auth.Credential getCapCredential() {
		return capCredential;
	}

	/**
	 * 构造方法
	 */
	public JdCredential(String accessKey, String secretKey) {
		this.jssCredential = new Credential(accessKey, secretKey);
		this.capCredential = new com.jcloud.cap.client.auth.Credential(accessKey, secretKey);
	}

}
